#-------------------------------------------------
#
# Project created by QtCreator 2020-05-28T20:13:19
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = roadDesigner
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
        main.cpp \
    mainwindow/mainwindow.cpp \
    opxml/globalrwxml.cpp \
    opxml/readxml.cpp \
    opxml/rwxml.cpp \
    road/computeparameter.cpp \
    road/infoassembling.cpp \
    road/laneitem.cpp \
    road/mapinfo.cpp \
    road/mapparser.cpp \
    road/roaddata.cpp \
    road/roaditem.cpp \
    road/roadmapitem.cpp \
    road/utilxmlparser.cpp \
    algorithm/poly3/poly3.cpp \
    algorithm/spiral/spiral.cpp \
    algorithm/spiral/spiralv2.cpp \
    commonfun/commonfun.cpp \
    draw/drawroad.cpp \
    mainwindow/qwgraphicsview.cpp \
    mapsize/mapsize.cpp \
    getpath/getpath.cpp \
    road/drawlinkitem.cpp \
    road/drawroaditem.cpp \
    road/drawrectroaditem.cpp \
    road/mapinfowrite.cpp \
    road/drawjunctionitem.cpp \
    propertiesdialog/bashinfo.cpp \
    propertiesdialog/custompushbutton.cpp \
    propertiesdialog/geometryinfo.cpp \
    propertiesdialog/lane.cpp \
    propertiesdialog/link.cpp \
    propertiesdialog/meetingpoint.cpp \
    propertiesdialog/propertiesdialog.cpp \
    algorithm/spline_curves/splinecurves.cpp

HEADERS += \
    mainwindow/mainwindow.h \
    opxml/globalrwxml.h \
    opxml/readxml.h \
    opxml/rwxml.h \
    road/commondefine.h \
    road/computeparameter.h \
    road/infoassembling.h \
    road/lane.h \
    road/laneitem.h \
    road/mapinfo.h \
    road/mapparser.h \
    road/roaddata.h \
    road/roaditem.h \
    road/roadmapitem.h \
    road/utilxmlparser.h \
    algorithm/algorithmcommon.h \
    algorithm/poly3/poly3.h \
    algorithm/spiral/spiral.h \
    algorithm/spiral/spiralv2.h \
    commonfun/commonfun.h \
    draw/drawobject.h \
    draw/drawpavementmarker.h \
    draw/drawroad.h \
    draw/drawtrafficlight.h \
    draw/drawtrafficsign.h \
    mainwindow/qwgraphicsview.h \
    mapsize/mapsize.h \
    getpath/getpath.h \
    road/drawlinkitem.h \
    road/drawroaditem.h \
    road/drawrectroaditem.h \
    road/mapinfowrite.h \
    road/drawjunctionitem.h \
    propertiesdialog/bashinfo.h \
    propertiesdialog/custompushbutton.h \
    propertiesdialog/geometryinfo.h \
    propertiesdialog/lane.h \
    propertiesdialog/link.h \
    propertiesdialog/meetingpoint.h \
    propertiesdialog/propertiesdialog.h \
    road/pixeltoroadmapinfo.h \
    algorithm/spline_curves/splinecurves.h

FORMS += \
    mainwindow/mainwindow.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../roadDesigner/libs/ -ltinyxml
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../roadDesigner/libs/ -ltinyxmld
else:unix: LIBS += -L$$PWD/../roadDesigner/libs -ltinyxml
